import request from '@/utils/request'
import request1 from '@/utils/request2'

// 查询全部货品
export const getHuoPin=params=>request1.get('goods/pageDetail',{params})

//删除货品
export const delHuoPin=id=>request1.delete('goods',{
  params:{ids:[id]}
})






// 货品编码
export const getHp=params=>request1.get('codeFactory/next/HP',{params})

// 新增货品
// export 